package com.zy.cat.entity.dtk;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zy.cat.entity.mall.resp.CatDouYinVideoResp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("大淘客商品详情返回实体类")
public class GoodsDetail implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "时间", example = "1")
    private String time;

	@ApiModelProperty(value = "状态码", example = "1")
    private int code;

	@ApiModelProperty(value = "消息", example = "1")
    private String msg;
	
	@ApiModelProperty(value = "返回数据信息", example = "1")
	private Detail data;
	
	@Data
	@NoArgsConstructor
	@AllArgsConstructor
	@ApiModel("大淘客商品详情实体类")
	public static class Detail{
		
		@ApiModelProperty(value = "商品ID", example = "10010")
		private String goodsId;

//		@JsonIgnore
		@ApiModelProperty(value = "大淘客商品ID", example = "10010")
		private long id;

		@ApiModelProperty(value = "淘宝标题", example = "西维里男士睡衣夏季韩版真丝短")
		private String title;

		@ApiModelProperty(value = "大淘客短标题", example = "夏季睡衣男冰丝短袖丝绸家居服套装")
		private String dtitle;

		@ApiModelProperty(value = "商品原价", example = "23.9")
		private double originalPrice;

		@ApiModelProperty(value = "券后价", example = "13.9")
		private double actualPrice;

		@ApiModelProperty(value = "店铺类型，1-天猫，0-淘宝", example = "0")
		private long shopType;

		@JsonIgnore
		@ApiModelProperty(value = "是否金牌卖家，1-金牌卖家，0-非金牌卖家", example = "0")
		private long goldSellers;

		@ApiModelProperty(value = "30天销量", example = "10")
		private long monthSales;

		@ApiModelProperty(value = "2小时销量", example = "10")
		private long twoHoursSales;

		@ApiModelProperty(value = "当日销量", example = "10")
		private long dailySales;

		@JsonIgnore
		@ApiModelProperty(value = "佣金类型，0-通用，1-定向，2-高佣，3-营销计划", example = "0")
		private long commissionType;

		@ApiModelProperty(value = "商品推广文案", example = "宽松舒适，难以磨损典，雅而优美，倍感丝滑，质感优越，庄严而心仪，简约设计，色调清新脱俗，适合各种场合")
		private String desc;

		@ApiModelProperty(value = "领券量", example = "10")
		private long couponReceiveNum;

		@ApiModelProperty(value = "券总量", example = "10")
		private long couponTotalNum;

		@ApiModelProperty(value = "优惠券链接", example = "https://uland.")
		private String couponLink;

		@ApiModelProperty(value = "优惠券结束时间", example = "2019-09-11 11:11:11")
		private String couponEndTime;

		@ApiModelProperty(value = "优惠券开始时间", example = "2019-09-13 11:11:11")
		private String couponStartTime;

		@ApiModelProperty(value = "优惠券金额", example = "10")
		private double couponPrice;

		@ApiModelProperty(value = "优惠券使用条件", example = "38")
		private String couponConditions;

		@JsonIgnore
		@ApiModelProperty(value = "活动类型，1-无活动，2-淘抢购，3-聚划算", example = "0")
		private long activityType;

		@JsonIgnore
		@ApiModelProperty(value = "商品上架时间", example = "2019-09-13 11:11:11")
		private String createTime;

		@ApiModelProperty(value = "商品主图链接", example = "https://uland.")
		private String mainPic;

		@JsonIgnore
		@ApiModelProperty(value = "营销主图链接", example = "https://uland.")
		private String marketingMainPic;

		@ApiModelProperty(value = "淘宝卖家id", example = "158924983")
		private String sellerId;

		@JsonIgnore
		@ApiModelProperty(value = "商品在大淘客的分类id", example = "1")
		private String cid;

		@ApiModelProperty(value = "折扣力度", example = "0.75")
		private double discounts;

		@JsonIgnore
		@ApiModelProperty(value = "佣金比例", example = "30")
		private double commissionRate;

		@JsonIgnore
		@ApiModelProperty(value = "是否海淘，1-海淘商品，0-非海淘商品", example = "30")
		private long haitao;

		@JsonIgnore
		@ApiModelProperty(value = "活动开始时间", example = "2019-09-13 11:11:11")
		private String activityStartTime;

		@JsonIgnore
		@ApiModelProperty(value = "活动结束时间", example = "2019-09-13 11:11:11")
		private String activityEndTime;

		@ApiModelProperty(value = "店铺名称", example = "西维里旗舰店")
		private String shopName;

		@ApiModelProperty(value = "淘宝店铺等级", example = "30")
		private long shopLevel;

		@ApiModelProperty(value = "描述分", example = "4.8")
		private double descScore;

		@ApiModelProperty(value = "描述相符", example = "4.8")
		private double dsrScore;

		@ApiModelProperty(value = "服务态度", example = "4.8")
		private double shipScore;

		@ApiModelProperty(value = "物流服务", example = "4.8")
		private double serviceScore;

		@JsonIgnore
		@ApiModelProperty(value = "是否是品牌商品", example = "0")
		private long brand;

		@JsonIgnore
		@ApiModelProperty(value = "品牌id", example = "2301323020")
		private String brandId;

		@ApiModelProperty(value = "品牌名称", example = "西维里")
		private String brandName;

		@JsonIgnore
		@ApiModelProperty(value = "热推值", example = "10")
		private long hotPush;

		@JsonIgnore
		@ApiModelProperty(value = "放单人名称", example = "阿甘团队")
		private String teamName;

		@JsonIgnore
		@ApiModelProperty(value = "商品淘宝链接", example = "https://detail.")
		private String itemLink;

		@JsonIgnore
		@ApiModelProperty(value = "是否天猫超市商品，1-天猫超市商品，0-非天猫超市商品", example = "0")
		private long tchaoshi;

		@ApiModelProperty(value = "商品详情图", example = "https://detail.")
		private String detailPics;

		@ApiModelProperty(value = "描述同行比", example = "4.8")
		private double dsrPercent;

		@ApiModelProperty(value = "服务态度同行比", example = "4.8")
		private double shipPercent;

		@ApiModelProperty(value = "物流同行比", example = "4.8")
		private double servicePercent;

		@JsonIgnore
		@ApiModelProperty(value = "商品在大淘客的二级分类id，该分类为前端分类，一个商品可能有多个二级分类id", example = "1687,5787")
		private List<String> subcid;

		@ApiModelProperty(value = "商品在淘宝的分类id", example = "1687")
		private String tbcid;

		@ApiModelProperty(value = "淘宝轮播图", example = "https://detail.")
		private String imgs;
		
		@ApiModelProperty(value = "商品详情图", example = "https://detail.")
		private String reimgs;
		
		@ApiModelProperty(value = "返利金额(分)", example = "100")
		private Long fcode;
		
		@ApiModelProperty(value = "抖音数据", example = "")
		private List<CatDouYinVideoResp> douYinData;
		
		@ApiModelProperty(value = "店铺logo", example = "https://img.alicdn.com/imgextra//59/df/TB1lJVxNFXXXXcoXFXXSutbFXXX.jpg")
		private String shopLogo;
		
		@ApiModelProperty(value = "商品卖点", example = "")
		private List<String> specialText;
		
		@ApiModelProperty(value = "商品所在地", example = "杭州")
		private String provcity;
		
		@ApiModelProperty(value = "商品是否包邮", example = "true")
		private Boolean freeShipment;
		
		@ApiModelProperty(value = "商品一口价格(商品无任何折扣价格)", example = "120")
		private String reservePrice;
	}
}
